namespace Digitalmes.Application.Mes;

/// <summary>
/// 计量单位表
/// </summary>
public sealed class MdUnitDto : Dto
{
    /// <summary>
    /// 计量单位编号
    /// </summary>
    [Required, NotNull]
    [StringLength(32)]
    public string? UnitCode { get; set; }

    /// <summary>
    /// 计量单位名称
    /// </summary>
    [Required, NotNull]
    [StringLength(32)]
    public string? UnitName { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [StringLength(128)]
    public string? Remark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string? CreateUser { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string? UpdateUser { get; set; }
}
